public class Lab2 {
    public static void main(String[] args) {
        int i;
        for(i=100;i<=300;i++)
            if (i%3==0)
                continue;
        if (i%3!==0)
            System.out.println(i);

    }


}
